<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<html>
<head>
	<link rel="icon" type="image/png" href="favicon.png" >
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Login into devboard</title>
	<script type="text/javascript" src="js/Registration.js"></script>
	<link rel="stylesheet" href="css/Main.css" type="text/css">
</head>
<body>
	<div id="menu" class="st">
	<img src="css/logo.png" width="300" height="58">
	</div>
<div id="content" class="st">
<%
String error="";
if(request.getParameter("logFail")!=null&&request.getParameter("logFail").equals("true")){
	error="Login fail! Please try again!";
} %>
<div id="error" style="color:red"><%=error %></div>

<form name="logForm" action="Task.jsp" method="post">
	<table>
		<tr><td>Login:</td><td><input type="text" name="email" width="15" onfocus="cleanElement()"></td></tr>
		<tr><td>Password:</td><td><input type="password" name="password" width="15" onfocus="cleanElement()"></td></tr>
	</table>
	<input class="forms" type="submit" value="login">
	<a href="Registration.jsp"><button type="button" class="forms">Registration</button></a>
</form>
</div>

</body>
</html>